<!DOCTYPE html>
<html lang="en" > 
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Spring boot and Angularjs Tutorial</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!--<link rel="stylesheet" href="/css/app.css">-->
<link href="css/angular-bootstrap.css" rel="stylesheet">
</head>

<body ng-app="myApp" ng-cloak class="ng-cloak">
<h2>Administrator Panel</h2>

<div ng-controller="navigation as nav" class="container">
    <ul class="nav nav-pills" role="tablist">
        <li class="active"><a href="#/showalluser">home</a></li>
        <li><a href="#/adduser">add</a></li>
        <li><a href="#/edituser">edit</a></li>
        <li><a href="#/deleteuser">delete</a></li>
    </ul>
</div>

<div ng-controller="home">
<!--
<div >
-->
    <table>
        <td>id</td>
        <td>用户名</td>
        <td>手机号</td>
        <tr ng-repeat="x in names">
            <td>{{x.userId}}</td>
            <td>{{x.userName}}</td>
            <td>{{x.phone}}</td>
        </tr>
    </table>
</div>
<div ng-controller="usercars">
<!--
<div >
-->
    <table>
        <td>id</td>
        <td>型号</td>
        <td>品牌</td>
        <td>排量</td>
        <tr ng-repeat="x in names">
            <td>{{x.id}}</td>
            <td>{{x.carNAME}}</td>
            <td>{{x.factoryId}}</td>
            <td>{{x.carSIZE}}</td>
        </tr>
    </table>
</div>
<div ng-view></div>
<!--<script src="/webjars/angular.min.js"></script>-->
<!--<script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>-->
 <script src="js/angular-bootstrap.js" type="text/javascript"></script>
<script src="/js/app.js"></script>
<!--<script src="/js/controller.js"></script>
<link rel="stylesheet" href="/webjars/bootstrap/3.3.6/css/bootstrap.css">-->
</body>
</html>
